﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IQueryable<IndyMosaic.Models.Podcast.Entry>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Podcasts
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Podcasts</h2>
    <div>
        <%: Html.ActionLink("Create New", "Create", "Podcast") %>
    </div>
    <div>
    <% foreach (var item in Model)
       { %>
            <div>
                <h3><%: item.Title %></h3>
                <p><%: item.Description %></p>
                <%: Html.ActionLink("Edit", "Edit", "Podcast", new{ id = item.ID}, null) %>
            </div>    
    <% } %>
    </div>
</asp:Content>
